﻿<!-- 
=====================================================================
  This file is part of a Microsoft SQL Server Shared Source Application.
  Copyright (C) Microsoft Corporation.  All rights reserved.
 
THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
======================================================= 
-->
    
<!-- Define application-wide styles for document background, dialog background, titles, headings, and buttons. -->
<Application
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	x:Class="Microsoft.SqlCommunity.FaultRetry.App"
	StartupUri="ProductEditorWindow.xaml">
	<Application.Resources>
        <LinearGradientBrush x:Key ="EditorBackgroundBrush" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="#FFD600D6" Offset="0"/>
            <GradientStop Color="#FFFFFFFF" Offset="1"/>
        </LinearGradientBrush>

        <LinearGradientBrush x:Key="DialogBackgroundBrush" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="#55D60000" Offset="0"/>
            <GradientStop Color="#FFFFFFFF" Offset="1"/>
        </LinearGradientBrush>
        
        <Style x:Key="TitleStyle">
            <Setter Property="Control.FontFamily" Value="Imprint MT Shadow"/>
            <Setter Property="Control.FontSize" Value="24"/>
            <Setter Property="Control.Height" Value="44"/>
        </Style>
        
        <Style x:Key="HeadingStyle">
            <Setter Property="Control.FontFamily" Value="Lucida Calligraphy"/>
            <Setter Property="Control.FontSize" Value="16"/>
        </Style>

        <Style TargetType="{x:Type Button}" BasedOn="{StaticResource HeadingStyle}">
            <Setter Property="Height" Value="28"/>
        </Style>
    </Application.Resources>
</Application>